package com.mytrip.service;

import java.util.List;

import com.mytrip.base.service.BaseManager;
import com.mytrip.model.AddressBooks;
import com.mytrip.model.Userinfo;

public interface UserManager extends BaseManager{

	public Userinfo findUserByEmailOrMobile(String userName, String password);

	public Integer updatePasswordAndEmail(Userinfo userinfo);

	public Integer saveAddressBooks(AddressBooks addressBooks);

	public List<AddressBooks> findAddressBooksByUser();
	
	public void deleteAddressBooks(AddressBooks addressBooks);
	
	public AddressBooks findAddressBooksById(Integer id);
	
	public Integer updateUserinfo(Userinfo userinfo);

}
